var express = require('express');
var router = express.Router();
var config = require('../config');
var up = require('../db/formidable');

router.get('/', function(req, res, next){
	res.render('./admin/up',{'title':'ces','user':''});
});

// router.post('/', function(req, res, next){
// 	up.upvideo(req, config.PATH, function(d){
// 		res.json({'videoPath':d});
// 	})
// })

module.exports = router;